package com.yunao.service;

import com.yunao.entity.User;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface UserService {
    List<User> findByOrgan(Integer organId);
    User findByUsername(String username);

    User findOne(Integer id);

    void save(User user);


    void delete(Integer id);

    void updateOpenidByUserid(@RequestParam("openid") String openid, @RequestParam("userid") String userid);
}
